using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MF.Bus
{
    public interface IMFBus
    {
        /// <summary>
        /// 发布某个事件的消息
        /// </summary>
        /// <param name="message"></param>
        /// <param name="eventName"></param>
        /// <returns></returns>
        void PublishAsync(BusMessage message, string eventName);
    }
}
